sysroot: Reword comment and use gboolean over bool, error handling
authorEric Curtin <ecurtin@redhat.com>
Thu, 22 Feb 2024 18:15:09 +0000 (18:15 +0000)
committerEric Curtin <ecurtin@redhat.com>
Fri, 23 Feb 2024 14:58:48 +0000 (14:58 +0000)
commite48cdb90d37051b315bb2f9170a484701f4ca064
tree134ea7ece989eb66df2ab26882fb6359d7a8dde9
parente790e79e11d8cd9cd6126a41243296f4b5a1f656
sysroot: Reword comment and use gboolean over bool, error handling

Be more explicit in the comment, and use gboolean over bool. Less header
inclusions when we use gboolean. Although bool is used in some places.
Write a separate _ostree_sysroot_parse_bootlink_aboot function for
aboot. Make is_aboot optional. Handle invalid androidboot karg and no
ostree and androidboot kargs differently.

Co-authored-by: Jonathan Lebon <jonathan@jlebon.com>
Signed-off-by: Eric Curtin <ecurtin@redhat.com>
src/libostree/ostree-impl-system-generator.c
src/libostree/ostree-sysroot-private.h
src/libostree/ostree-sysroot.c
src/libotcore/otcore-prepare-root.c
src/libotcore/otcore.h
src/switchroot/ostree-prepare-root.c
tests/test-otcore.c